package com.agentai.system.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 角色区域权限
 */
@Data
@Schema(description = "角色区域权限")
public class SysRoleAreaScopeVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @NotNull(message = "角色ID不能为空")
    private Long id;

    @NotNull(message = "区域范围不能为空")
    @Schema(description = "区域范围  0：全部区域  1：本区域及子区域数据  2：本区域数据  3：自定义区域")
    private Integer areaScope;

    @Schema(description = "区域编码列表")
    private List<String> areaCodeList;

}
